package com.deuwise.system.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;

/**
 * 图层字段可选项配置
 *@author hezhenhao
 *@date 2020-05-27 13:26:17
 */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName("SYS_LAYER_FIELD_OPTIONAL")
public class SysLayerFieldOptional extends Model<SysLayerFieldOptional>  implements Serializable{
    /**主键标识*/
    @ApiModelProperty("主键标识")
    @TableField("id")
    private String id;

    /**字段记录标识*/
    @ApiModelProperty("字段记录标识")
    @TableField("field_id")
    private String fieldId;

    /**选项标识*/
    @ApiModelProperty("选项标识")
    @TableField("field_key")
    private String fieldKey;

    /**选项内容*/
    @ApiModelProperty("选项内容")
    @TableField("field_val")
    private String fieldVal;

    @Override
    protected Serializable pkVal() {
        return null;
    }
}